#ifndef __CONNECTIONHANDLERHTTPS_HPP__
#define __CONNECTIONHANDLERHTTPS_HPP__

#include "ConnectionHandler.hpp"
#include "SSLWrapper.hpp"

/**
 * Handles a new TCP connection as an HTTPS request
 */
class ConnectionHandlerHTTPS : public ConnectionHandler {

	private:
		SSL_CTX* globalContext;

	public:
		ConnectionHandlerHTTPS(SSL_CTX* globalContext);

		ConnectionHandlerHTTPS(TCPConnection& connection);

		void handle();

		~ConnectionHandlerHTTPS();
};
#endif

